package org.dromara.chicken.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.chicken.domain.ChickenFeedOut;
import org.dromara.chicken.domain.ChickenReduce;

/**
 * 减少记录Mapper接口
 *
 * @author Mr Lei QQ 235921049
 * @date 2024-06-10
 */
public interface ChickenReduceMapper extends BaseMapperPlus<ChickenReduce, ChickenReduce> {
    /*查询分页*/
    Page<ChickenReduce> queryPageList(@Param("page") Page<ChickenFeedOut> page, @Param("bo") ChickenReduce bo);

    /*生成默认标题*/
    Integer selectByDateCunt(String formatDate);
}
